package cn.kmust.booth.portal.mapper;

import cn.kmust.booth.portal.model.Admin;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author kmust.cn
 * @since 2020-08-06
 */
@Repository
public interface AdminMapper extends BaseMapper<Admin> {

    Integer updatePwd(
            @Param("newPassword") String newPassword,
            @Param("phone") String phone
    );

}
